import React, { Component } from "react";
import { Tabs } from "antd";
import FormDisabledDemo from "./emailf";
import Send from "./sendEmail";
// import emailLIst from './emailLIst'
const { TabPane } = Tabs;

const onChange = (key) => {
  console.log(key);
};

export default function email() {
  return (
    <div>
      <Tabs defaultActiveKey="1" onChange={onChange}>
        <TabPane tab="邮箱设置" key="1">
          <FormDisabledDemo />
        </TabPane>
        <TabPane tab="已发送记录" key="2">
          2
        </TabPane>
        <TabPane tab="发送邮件" key="3">
          <Send />
        </TabPane>
      </Tabs>
    </div>
  );
}
